<? if(empty($tag[0]['Article'])) {
		?> <p> <?__('TAGS_EMPTY');?></p><?	
} else {
	?> <ul> <?
	foreach ($tag[0]['Article'] as $article): ?>
	<li>
	<h2 class="title">
		<? echo $html -> link($article['title'],'/articles/'.$date -> niceShort($article['created'],'Y/m/d').'/'.$article['seo_link']); ?>
	</h2>
	
	<? if($article["show_author"]==1) { ?>
	<p class="article_author">
		<? __('AUTHOR'); echo ': '.$article['User']['name'].', '; ?>
		<? __('CREATED'); echo ': '.$date -> timeAgoInWords($article['created']); ?>
	</p>
	<? } ?>
	
	<? echo $texy -> show($article['intro_text']); ?>
		
	<? 
	if($article['show_all']==1){
		echo $texy -> show($article['text']);	
	}
	?>
	
	<p class="article_information">
	<? if($article["show_informations"]==1) { ?>
		<? __('VISITED'); echo ': '; echo $article['visited'].', '; ?>	 
		<? __('COMMENTS'); echo ': '; echo $html -> link(count($article['Comment']),'/articles/'.$date -> niceShort($article['created'],'Y/m/d').'/'.$article['seo_link'].'/#comments').', '; ?>
		<? __('CATEGORY'); echo ': '; echo $html -> link($article['Category']['name'],'/categories/view/'.$article['Category']['seo_link']); ?>, 
		<? __('RATING_TITLE'); echo ': '.ife($rating->amount($article['Rating'])>0,$rating->getRating($article['Rating']).'%','-'); ?>
	<? } ?>
	</p>
	</li>
	<? endforeach;
	?> </ul> <?
}
?>